package com.sneakxy.beetl;

import org.beetl.core.Context;
import org.beetl.core.Function;

import com.sneakxy.utils.StringUtilsExt;

public class UpperFirstCaseFunction implements Function {

	@Override
	public String call(Object[] paras, Context ctx) {
		if (paras.length == 0) {
			return null;
		}
		return StringUtilsExt.upperCaseFirst(String.valueOf(paras[0]));
	}

}
